//
//  WPReadingViewCollectionViewCell.m
//  wobingwoyi
//
//  Created by WGP on 2016/11/28.
//  Copyright © 2016年 WGP. All rights reserved.
//

#import "WPReadingViewCollectionViewCell.h"

@implementation WPReadingViewCollectionViewCell

-(void)setTvc:(UIViewController *)tvc
{
    _tvc = tvc;
    [self.contentView addSubview:tvc.view];
    self.tvc.view.frame = self.contentView.bounds;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    
    self.tvc.view.frame = self.contentView.bounds;
}

@end
